package org.hi.tripmodel.service.impl;

import java.util.List;

import org.hi.framework.paging.PageInfo;
import org.hi.tripmodel.model.TripDetail;
import org.hi.framework.service.impl.ManagerImpl;
import org.hi.tripmodel.service.TripDetailManager;

public class TripDetailManagerImpl extends ManagerImpl implements TripDetailManager{
    
    protected void preSaveObject(Object obj) {
        super.preSaveObject(obj);

    }

    protected void postSaveObject(Object obj) {
        super.postSaveObject(obj);

    }

    protected void preRemoveObject(Object obj) {
        super.preRemoveObject(obj);
        
    }

    protected void postRemoveObject(Object obj) {
        super.postRemoveObject(obj);
        
    }
    
    public void saveTripDetail(TripDetail tripDetail){
    	saveObject(tripDetail);
    
    }

    public void removeTripDetailById(Integer id){
    	removeObjectById(id);
    	
    }

    public TripDetail getTripDetailById(Integer id){
   		return (TripDetail) getObjectById(id);
    }

    public List<TripDetail> getTripDetailList(PageInfo pageInfo){
    	return super.getList(pageInfo);
    }

    public void saveSecurityTripDetail(TripDetail tripDetail){
    	saveObject(tripDetail);
    
    }

    public void removeSecurityTripDetailById(Integer id){
    	removeObjectById(id);
    	
    }

    public TripDetail getSecurityTripDetailById(Integer id){
   		return (TripDetail) getObjectById(id);
    }

    public List<TripDetail> getSecurityTripDetailList(PageInfo pageInfo){
    	return super.getList(pageInfo);
    }    
}
